package thread;

public class ExecutorMainTest {
    public static void main(String[] args) {
        ExecutorMainTest test = new ExecutorMainTest();
        test.test('f');
    }

    public void test(char type) {
        ExecutorDemo demo = new ExecutorDemo(type);
        for (int i = 0; i < 1000; i++) {
            demo.submit(new RunnableClass());
        }
        demo.release();
    }
}
